转载 : Getting GDB pretty printing for C++ stl containers to work on Eclipse
如果在启动gdb之后输出了这个错误:“ Python scripting is not supported in this copy of GDB
”,则表示,妳的系统中安装的gdb版本在编译时未启用python支持。解决办法就是,重新编译安装gdb,并且指定./configure参数“--with-python”。
亮点:
|
To get you started, you can compile GDB in a separate directory, and run it from there. Grab the sources for the version you want: http://sources.redhat.com/gdb/ Run ./configure with the --with-python , and then make , but don't install it over your system copy. At that point, you should be able to invoke gdb where it has been built with ./builddir/gdb , rather than the one in your path. (This is where you should point eclipse debugging to, if you want to invoke it from there) |
HxLauncher: Launch Android applications by voice commands